describe('practice-7-2', function () {

    it("剩余多少座山，系统搬了多少座山？", function () {
        var n = 10;
        var left_object = get_move_mountain_game(n,3,3);

        while(left_object.left_num-left_object.computer_num>1)
        {
            var y = (n-3-1)%(3+1);
            if(y === 0)
                y = 1;
            expect(left_object.left_num).toBe(n-3);
            expect(left_object.computer_num).toBe(y);
            n = left_object.left_num-left_object.computer_num;
            left_object = get_move_mountain_game(n,3,3);
        }
    });

});